You are here: Section Rules Reference > Section Rules Summary > AddMultiPageBitmap > Using the Type Option

Using the Type Option

Use the Type option to specify the type of file you want to import to speed processing. Enter T (TIFF) or P (PDF). If you omit this option, the system first looks for TIFF files. If it cannot find a TIFF file, it looks for a PDF file.

 Keep in mind:

 

• Pages imported from a PDF file are placedat coordinates (0,0) in the output by default. You can use the position options (IN, MM, or TOP) to specify another position.

 

• You can specify several AddMultiPageBitmap rules, as shown here, but realize that each subsequent rule reuses the document pages added by previous rules.

 

Here is an example:

 

<Image Rules>

...

;AddMultiPageBitmap;DAL(PDF_DAL.dal),Only(ODD),TYPE(P);

;AddMultiPageBitmap;DAL(PDF_DAL.dal),Only(ODD),TYPE(P);

...

Assume the first PDF file contains four pages and the second PDF file contains five pages.

After executing the two rules, there will be five pages in the form. The first four pages will have two images each (one from the first rule and one from the second) and the final page will contain the last image from the 5-image PDF file.
Be aware that the placement of those bitmap images on the page can make them overlap

 

·         Use the following options to set the resolutions at which files are imported.

 

< BitmapLoaders >

<PDFImportDPI =

<VectorGraphicImportDPI =

 

Option                                                            Description

 

PDFImportDPI                                      (Optional) Enter the resolution in dots per inch (DPI) at which you want to import PDF files. The default is 100 DPI.

 

VectorGraphicImportDPI                        Optional) Enter the DPI (dots per inch) at which you want to import files other than TIFF or PDF files. The default is 100.

 

Beginning with release 12.2.1 these additional options are available. They all have default values and therefore are all optional.

 

< BitmapLoaders >

    PDFImportColorDepth =

    VectorGraphicColorDepth =

    UseImageExportOnly =

 

Option                                                Description

 

PDFImportColorDepth                           Enter the color depth at which you want to import PDF files. Valid values are 1, 8 and 24. The default is 8

 

VectorGraphicImportColorDepth            Enter the color depth at which you want to import files other than TIFF or PDF files. Valid values      are 1, 8 and 24. The default is 8.

 

UseImageExportOnly                             Enter NO or YES. The default is NO. The process of importing a PDF file is independent of the process of importing supported file types other than TIFF, for example, importing a Word document. To use this same process for importing PDF files set this INI setting to YES. If set to YES then the PDFImportDPI and  PDFImportColorDepth do not apply for PDF files and are ignored.  It also implies that the AddMultiPageBitmap EMBED option will be forced to Y.